/**
 * 
 */
package com.jeecms.wicool.dao.tradearea;

import java.util.List;

import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.tradearea.OfficeBuilding;

/**
 * @author Administrator
 *
 */
public interface OfficeBuildingDao {

	public Pagination getPage(String name,String address,Integer userId,Integer tradeId, int pageNo, int pageSize);
	
	public OfficeBuilding findById(Integer id);
	
	public OfficeBuilding save(OfficeBuilding obj);
	
	public OfficeBuilding deleteById(Integer id);
	
	public List<OfficeBuilding> deleteByIds(Integer[] ids);
	
	public OfficeBuilding update(OfficeBuilding obj);
	
	public List<OfficeBuilding> getAll();
	
	public List<OfficeBuilding> getOfficeBuildingList(Integer userId);
	
	public List<OfficeBuilding> getOfficeBuildingListByAreaId(Integer areaId);
}
